Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(language-service): remove asserts for non-null expressions #16422

Closed
wants to merge 1 commit into from

Conversation

chuckjaz
Copy link
Contributor

Reworked some of the code so asserts are no longer necessary.
Added additional and potentially redundant checks
Added checks where the null checker found real problems.

What kind of change does this PR introduce? (check one with "x")

[x] Bugfix

What is the current behavior? (You can also link to an open issue here)

Language service used postfix '!' to avoid struct null checking errors.

What is the new behavior?

Removed most of the postfix '!' as described above.

Does this PR introduce a breaking change? (check one with "x")

[ ] Yes
[x] No

Reworked some of the code so asserts are no longer necessary.
Added additional and potentially redundant checks
Added checks where the null checker found real problems.
@chuckjaz chuckjaz added the action: merge The PR is ready for merge by the caretaker label Apr 28, 2017
@mhevery mhevery closed this in 253345c Apr 29, 2017
matsko pushed a commit that referenced this pull request May 4, 2017
Reworked some of the code so asserts are no longer necessary.
Added additional and potentially redundant checks
Added checks where the null checker found real problems.

PR Close #16422
asnowwolf pushed a commit to asnowwolf/angular that referenced this pull request Aug 11, 2017
…ar#16422)

Reworked some of the code so asserts are no longer necessary.
Added additional and potentially redundant checks
Added checks where the null checker found real problems.

PR Close angular#16422
juleskremer pushed a commit to juleskremer/angular that referenced this pull request Aug 28, 2017
…ar#16422)

Reworked some of the code so asserts are no longer necessary.
Added additional and potentially redundant checks
Added checks where the null checker found real problems.

PR Close angular#16422
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker cla: yes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants